xentrace: fix type of offset to avoid ouf-of-bounds access
authorOlaf Hering <olaf@aepfle.de>
Thu, 26 May 2011 11:35:30 +0000 (12:35 +0100)
committerOlaf Hering <olaf@aepfle.de>
Thu, 26 May 2011 11:35:30 +0000 (12:35 +0100)
commit8c79214b97bef8c65230f5c0737f2fdfe815bf14
treea4d03a29bce441582874abdde7b378e1938b9fe8
parent2a75eac8cda756d414f6b23d9606fcb3ac376861
xentrace: fix type of offset to avoid ouf-of-bounds access

Update the type of the local offset variable to match the type where
this variable is stored. Also update the type of t_info_first_offset
because it has also a limited range.

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Acked-by: George Dunlap <george.dunlap@eu.citrix.com>
xen/common/trace.c